<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core" >
<head>
<title><ui:insert name="title">Default title</ui:insert>
</title>
</head>

<body>

	<div id="header">
		<ui:insert name="header">
    	Header area.  See comments below this line in the source.
    	<!--  include your header file or uncomment the include below and create header.xhtml in this directory -->
			<!-- <ui:include src="header.xhtml"/> -->
		</ui:insert>
	</div>

	<div id="content">
		<ui:insert name="content">
			<h:form>
				<h:panelGrid columns="2">
					<h:outputText value="Login" />
					<h:inputText value="#{seguridadBean.usuario}" />
					<h:outputText value="Clave" />
					<h:inputSecret value="#{seguridadBean.contrasenia}" />
				</h:panelGrid>
				<h:commandButton value="Aceptar" action="#{seguridadBean.login}" />
			</h:form>
		</ui:insert>
	</div>

	<div id="footer">
		<ui:insert name="footer">
    	Footer area.  See comments below this line in the source.
    	<!--  include your header file or uncomment the include below and create footer.xhtml in this directory -->
			<!--<ui:include src="footer.xhtml"/>  -->
		</ui:insert>
	</div>

</body>

</html>
